import sys

def string_to_hex(s):
    return ''.join(format(ord(c), '02x') for c in s)

if len(sys.argv) > 1:
    print(string_to_hex(sys.argv[1]))
else:
    print('Usage: to_hex.py "raw string"')